﻿/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/



CKEDITOR.editorConfig = function( config )
{
	//config.pasteFromWordRemoveFontStyles=false;
	//config.pasteFromWordRemoveStye=false;
	//config.forcePasteAsPlainText=false;
	config.font_names='宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;微软雅黑/微软雅黑;'+ config.font_names;
	config.extraPlugins += (config.extraPlugins ? ',lineheight' : 'lineheight');
	// Define changes to default configuration here. For example:
	config.language = 'zh-cn';
	//config.uiColor = '#AADC6E';
	config.toolbar = 'MyToolbar';
	config.toolbar_MyToolbar=[
//加粗     斜体，     下划线      穿过线      下标字        上标字
['Source','-','Bold','Italic','Underline','Strike','Subscript','Superscript'],
//数字列表          实体列表            减小缩进    增大缩进
['NumberedList','BulletedList','-','Outdent','Indent','lineheight'],
//左对齐             居中对齐          右对齐          两端对齐
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
//超链接 取消超链接 锚点
['Link','Unlink','Anchor'],
//图片    flash    表格       水平线            表情       特殊字符        分页符
['Image','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
'/',
//样式       格式      字体    字体大小
['Styles','Format','Font','FontSize'],
//文本颜色     背景颜色
['TextColor','BGColor'],
//全屏           显示区块
['Maximize', 'ShowBlocks','-'],
[ 'Cut' , 'Copy' , 'Paste' , 'PasteText' , 'PasteFromWord' , '-' , 'Print' ]
];
	
	config.filebrowserUploadUrl='../doc/upload_do.jsp';
	config.filebrowserUploadUrl = '../doc/upload_do.jsp';  
	config.filebrowserImageUploadUrl = '../doc/upload_do.jsp';  
	config.filebrowserFlashUploadUrl = '../doc/upload_do.jsp'; 
};
